<form action="{:request()->url()}" method="post" class="xn_ajax">
    <!--增加配置项需要加对应的名称-->
    <input type="hidden" name="type" value="sms" />
    <div class="layui-row">
        <div class="layui-col-xs6">
            <div class="layui-form" wid100="" lay-filter="">
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
                    <legend>阿里云短信</legend>
                </fieldset>
                <div class="layui-form-item">
                    <label class="layui-form-label">accessKeyId</label>
                    <div class="layui-input-block">
                        <input type="text" name="ali_accessKeyId" value="{$data.sms.ali_accessKeyId}" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">accessKeySecret</label>
                    <div class="layui-input-block">
                        <input type="text" name="ali_accessKeySecret" value="{$data.sms.ali_accessKeySecret}" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item layui-form-text">
                    <label class="layui-form-label">signName</label>
                    <div class="layui-input-block">
                        <input type="text" name="ali_signName" value="{$data.sms.ali_signName}" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item layui-form-text">
                    <label class="layui-form-label">短信模板</label>

                    <div class="layui-input-block">
                        <input type="text" name="ali_templateCode" value="{$data.sms.ali_templateCode}" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">验证码间隔时间</label>
                    <div class="layui-input-inline">
                        <input type="text" name="interval_time" lay-verify="number" value="{$data.sms.interval_time}" class="layui-input">
                    </div>
                    <div class="layui-form-mid layui-word-aux">秒</div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">有效时间：</label>
                    <div class="layui-input-inline">
                        <input type="text" name="valid_time" lay-verify="number" value="{$data.sms.valid_time}" class="layui-input">
                    </div>
                    <div class="layui-form-mid layui-word-aux">秒</div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-submit="" lay-filter="set_website">确认保存</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</form>